#ifndef TIMER_H_
#define TIMER_H_

#ifdef _WIN32
typedef __int64 int64;
typedef unsigned __int64 uint64;
#else
typedef long long int64;
typedef unsigned long long uint64;
#endif

#ifdef _WIN32
#include <windows.h>
#else
#include <unistd.h>
#include <sys/time.h>
#endif

class Timer
{
public:
	Timer();
	virtual ~Timer();
	int64 Timer::getTicks();
	void Timer::resetReference();
	float Timer::secondsSinceReference();

private:
	int64 ticks;
	int64 frequency;
};

#endif /*TIMER_H_*/
